home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 14428 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.2 KB

  1. Path: ix.netcom.com!news
  2. From: froman@ix.netcom.com(James Edward Sands III )
  3. Newsgroups: comp.lang.c++
  4. Subject: NEWBIE input question
  5. Date: 30 Mar 1996 07:46:01 GMT
  6. Organization: Netcom
  7. Message-ID: <4jiorp$c61@dfw-ixnews4.ix.netcom.com>
  8. References: <312A0334.AC5@supaero.fr> <4gfg6m$eet@hasle.sn.no> <4hagmf$qc0@donald.interpac.be> <4j5mqr$su7@ohnasn01.sinet.slb.com> <4jc1d6$2tv@news.inc.net> <315A2DA2.716E@oacis.com> <4jeel6$jkm@news.clandjop.com> <zakrzews.828148776@pegasus.montclair.edu>
  9. NNTP-Posting-Host: den-co10-03.ix.netcom.com
  10. X-NETCOM-Date: Sat Mar 30  1:46:01 AM CST 1996
  11.  
  12. I would like to write a function that lets the user input a certain
  13. number of a data type, then stop when it gets to the end.
  14. Such as a zip of 89043
  15. when the user types the three, the prompt just sits on the three (until
  16. the enter key is pressed).
  17. I will be using such a function for user input things like
  18. state abbreviation (2 char), a zip (five ints), and the sort.
  19. I have played around using the gotoxy for placement of the cursor
  20. but have had no success, and unfourtunately the computer I am at
  21. now is not the one a program on.  Can someone give me any suggestions
  22. or just even a word or two that might point me in the right directions.
  23.  
  24. Thanks
  25. Jim
  26.